home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-10-11 | 2.3 KB | 82 lines | [TEXT/MWII] |
- GSBug Notes
-
-
- Help
- ?
- Weird screen stuff (every other column is a column of spaces)
- OFF
- ON
- Breakpoint
- bp
- <value to break on>
- <tab> or <spacebar> to set 1 as the iteration to break on
- <iteration to break at; e.g., 1> or “i” for conditional breakpoints
- <esc>
- in sets real-time breakpoints
- r return to program execution
- Breakpoint conditionally
- bp
- <value to break on>
- <right arrow>
- i for conditional breakpoints
- <esc>
- SETIF <B or W> expression exprssn operators: =, # (not equal), <, > (greater than or equal)
- SETIF W A<#$0101 break if word in accum is less than the constant (#) $0101
- SETIF B $021234=$034321 break if byte at $02/1234 is the same as byte at $03/4321
- SETIF W X>Y break if word in X greater than word in Y (regs: AXYSDPB)
- in sets real-time breakpoints
- r return to program execution
- Breakpoint if value in register is such-and-such
- setif W A>#$0001 W for word value; A for accum; > for ≥; so if accum>0, then break
- bp
- <value to break on>
- <right arrow>
- i for ‘if’; puts ‘IF’ in iteration area
- <esc>
- in sets real-time breakpoints
- r
- Memory, display
- <address> 16 bytes on the command line
- <address>: flip to memory screen (21 lines, 16 bytes each) (ESC to return)
- DP: direct page
- DP:xxx 16 bytes from direct page:xxx to command line
- <address>:: indirection: use 2 bytes at address
- <address>::: indirection: use 3 bytes at address
- <spacebar> next block of memory
- Memory, set
- <address>:value put hex value in memory starting at address
- Monitor, visit
- Mon NOTE: it blows K / PC / Stack / DP / B / ... Use NiftyList!
- Ctrl-Y <return> return to GSBug
- Nifty List shortcut
- N transfers control to NiftyList
- OS Breaks
- SetOSBrk _OpenGS append GS for Class 1 calls!!!
- OSBrkIn
- ShowBrks
- Registers, alter contents (case sensitive)
- <register>=<value> use A, X, Y, K, PC, K/PC, B, D, S, P (& M,Q,L)
- x toggles x bit of P
- m toggles m bit of P
- e toggles emulation mode
- DPAGE sets D to direct page allocated for user by GSBug
- STACK sets S to stack allocated for user by GSBug
- Set Step-and-Trace highlighted line
- Set
- <up-arrow> <up-arrow> ... as many times as necessary
- <esc>
- CSave *:System:System.Setup:GSBug.Setup
- Step
- S
- <space> for each step
- X skip across a jsr or jsl
- <downarrow> skip next instruction
- Templates
- _templates display templategroups
- _<templategroup> display templatenames
- _<templatename> <addr> display memory at <addr> in the form of the template
- Tool Breaks
- SetTBrk _ShutDownTools
- TBrkIn
- ShowBrks
-